package homework.Game;
/**
 * 猎人类
 */
public class Hunter extends Professional implements Hunt,Attack{
    public Hunter(){

    }
    public Hunter(String name,int level){
        super(name,level);
    }
    /**打猎的方法*/
    public void hunt(){
        System.out.println("我是等级" + this.getLevel() + "的" + this.getName() + "我可以打猎");
    }
    /**攻击的方法*/
    public void attack(){
        System.out.println("我也可以攻击");
    }
}
